import {request} from "../request";

const requestUrl = '/manage/system/requestPath'

export function recordList(params) {
    return request({
        url: requestUrl + '/list',
        method: 'post',
        data: params
    })
}

export function recordAdd(params) {
    return request({
        url: requestUrl + '/add',
        method: 'post',
        data: params
    })
}

export function recordUpdate(params) {
    return request({
        url: requestUrl + '/update',
        method: 'post',
        data: params
    })
}

export function recordDelete(params) {
    return request({
        url: requestUrl + '/delete/' + params
    })
}
